/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package poker.neuralnetwork.functions;

/**
 *
 * @author Benjamin L. Brodie <blbrodie@gmail.com>
 */
public class Sigmoid implements Function{

    public double f(double sum) {
        return 1/(1 + Math.exp(-sum));
    }

}
